package com.shen.spark.kafka;

/**
 * Kafka Java API测试
 */
public class KafkaClientApp {

    public static void main(String[] args) throws InterruptedException {

        for (int i = 0; i < 50; i++) {

            new KafkaProducer(KafkaProperties.TOPIC, "user"+i+"test").start();
        }

    }
}
